<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
</head>
<body  class="layui-layout-body">
<!--新增弹窗-->
<div class="site-text" style="margin: 5%;" id="window"  target="test123">
    <form class="layui-form" id="part" method="post" lay-filter="example">
        <div class="layui-form-item">
            <label class="layui-form-label">部门编号</label>
            <div class="layui-input-block">
                <input type="text" id="p_id" name="p_id" lay-verify="title" autocomplete="off" placeholder="部门编号" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">部门名称</label>
            <div class="layui-input-block">
                <input type="text" id="p_name" name="p_name" lay-verify="title" autocomplete="off" placeholder="部门名称" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">部门备注</label>
            <div class="layui-input-block">
                <input type="text" id="p_remark" name="p_remark" lay-verify="title" autocomplete="off" placeholder="部门备注" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否已注销</label>
            <div class="layui-input-block">
                <input type="text" id="p_is" name="p_is" lay-verify="title" autocomplete="off" placeholder="是否已注销" class="layui-input">
            </div>
        </div>
    </form>
</div>
</body>
<script src="../../layui/layui.js"></script>
<script>
    function getValue(){
        var p_name = document.getElementById("p_name").value;
        var p_remark = document.getElementById("p_remark").value;
        var p_is = document.getElementById("p_is").value;
        var data = {"p_name":p_name,"p_remark":p_remark,"p_is":p_is}
        return data
    }

</script>
</html>